//
// Copyright (c) 2024 BPer
//

#include <bperutil/buffer/BPerVideoDecoderBuffer.h>

BPerVideoDecoderBuffer::BPerVideoDecoderBuffer(int num) {
	resetIndex();
	m_cache_num = num;
	initFrames(m_cache_num,BPER_VIDEO_ENCODE_BUFFER_LEN);
}

BPerVideoDecoderBuffer::~BPerVideoDecoderBuffer(void) {

}

void BPerVideoDecoderBuffer::getEVideo(BPerFrame* pframe) {
	getFrame(pframe);
}

void BPerVideoDecoderBuffer::putEVideo(BPerFrame* pframe) {
	putFrame(pframe);
}

